@ECHO OFF
REM
REM Get ghostscript setup for this particular machine
REM
set "PATH=c:\Program Files\gs\gs8.61\bin;%PATH%"

REM
REM Now, issue the command
REM

gswin32c -sDEVICE=jpeg -dJPEGQ=100 -r600x600 -sOutputFile=chep1.jpg -dBATCH -dNOPAUSE chep1.pdf 
